﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "toll_details", DisableSyncStructure = true)]
	public partial class TollDetails {

		/// <summary>
		/// 编号 
		/// </summary>
		[JsonProperty, Column(Name = "D_Id", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int DId { get; set; }

		/// <summary>
		/// 所属项目
		/// </summary>
		[JsonProperty, Column(Name = "D_Toll_Id", DbType = "int")]
		public int? DTollId { get; set; }

		/// <summary>
		/// 业主编号
		/// </summary>
		[JsonProperty, Column(Name = "D_UserId", DbType = "int")]
		public int? DUserId { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "D_CreateTime", DbType = "datetime")]
		public DateTime? DCreateTime { get; set; }

		/// <summary>
		/// 应收金额
		/// </summary>
		[JsonProperty, Column(Name = "D_Money")]
		public double? DMoney { get; set; }

		/// <summary>
		///  是否缴费（0未缴费，1已缴费）
		/// </summary>
		[JsonProperty, Column(Name = "D_PayState", DbType = "int")]
		public int? DPayState { get; set; }

		/// <summary>
		/// 缴费时间
		/// </summary>
		[JsonProperty, Column(Name = "D_PayTime", DbType = "datetime")]
		public DateTime? DPayTime { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		[JsonProperty, Column(Name = "D_Remark")]
		public string DRemark { get; set; }

	}

}
